package com.wkbb.basic.service.impl;

import com.wkbb.basic.mapper.TeacherCourseMapper;
import com.wkbb.basic.model.TeacherCourse;
import com.wkbb.basic.service.TeacherCourseService;
import com.wkbb.common.base.BaseService;
import com.wkbb.common.base.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Slf4j
public class TeacherCourseServiceImpl extends BaseServiceImpl<TeacherCourse> implements TeacherCourseService {
    @Autowired
    private TeacherCourseMapper teacherCourseMapper;

    @Override
    @Transactional(readOnly = true)
    public List<TeacherCourse> getListByMapParams(Map<String, Object> params){
        return teacherCourseMapper.getListByMapParams(params);
    }
}
